Copyright: Visual Help Copyright® 1993 Firas Bushnaq


CONTENTS
M&A RJE © 1994

M&A RJE is a set of two programs that will allow you to run remote command in a peer-to-peer
LAN where the workstations are running MS Windows.  You will be able to run DOS programs,
Windows Programs and DDE commands.

Definitions:
Requester PC:  The PC requesting commands to be executed.
Server PC: The PC executing the command(s).

Installation

How to Use M&A RJE

Support


Installation

There are two executables in your distribution diskette or Zip file: MARJEREQ.EXE &
MARJESRV.EXE.

MARJESRV.EXE is the program that will execute remote commands.
MARJEREQ.EXE is the program that will create commands to be executed by the Remote Job Processor.

In addition there is a file named THREED.VBX a file named CMDIALOG.VBX and a file named MARJEREQ.HLP.  These files are only needed by MARJEREQ.EXE.

If you received a distribution diskette from M&A Enterprises there will also be a file named VBRUN300.DLL.  If you downloaded the ZIP file, you will need to download VBRUN300.DLL from a BBS or On-Line Service.

Installation of MARJEREQ.EXE:
Create a directory called C:\MARJE, you cannot have another directory name, in the Requester PC.
Copy MARJEREQ.EXE to any directory and create an Icon in the Program Manager for it.
Copy MARJEREQ.HLP to the same path as MARJEREQ..EXE.
Copy THREED.VBX, CMDIALOG.VBX and VBRUN300.DLL to your Windows System directory, usually C:\WINDOWS\SYSTEM.

Installation of MARJESRV.EXE:
Create a directory called C:\MARJE, you cannot have another directory name, in the Server PC.
Copy MARJESRV.EXE to any directory in the Server PC and create an Icon in the Program Manager StartUp Group for it, or better yet, add it to the WIN.INI Run= statement.
Copy VBRUN300.DLL to your Windows System directory, usually C:\WINDOWS\SYSTEM.
Restart Windows, or execute MARJESRV.EXE, in the Server PC.

When MARJESRV.EXE is running in the Server PC, the user of that machine will not be able to see the program executing in the task list.

The installation is complete.


HOWTOUSE
How To Use M&A RJE © 1994

Using the program is simple:

Start MARJEREQ.EXE.
In the Command Box enter the command(s) you want the Server PC to execute.
Select the type of command you want to execute and then, press the OK button and the command gets executed in the Server PC.

There are five types of commands:

Batch Commands

On-Line Commands

DDE Commands

Clipboard Commands

Send Keys Commands

File Menu

New Ctrl-N

Save Ctrl-S

Open Ctrl-O

View Log Ctrl-V


Batch Commands

A Batch command is any file with the extension of: *.EXE, *.COM, *.BAT or *.PIF.

You can enter more than one command.  However, multiple commands must be separeated by a Shift-Enter.

When requesting to run a Batch command, MARJESRV.EXE in the Server PC will wait for the command to finish before running the next command.  For instance if you choose to run the Windows\'AE Calculator in the Servers PC in Batch Mode, the MARJESRV.EXE will wait until the user of that the Calculator is closed in the Server PC before running any other commands.
Threfore, is advisable that you only run commands in batch mode that do not require user intervantion.

Examples of Batch Commands:
BACKUP.BAT - XCOPY C:\AUTOEXEC.BAT C:\TEMP.

You might want to select the Wait For Execution to Finish check box before executing the command(s).

Make sure that you select the correct Drive before executing the commands.

YOU CANNOT MIX MATCH COMMAND TYPE.

See Also:

On-Line Commands

DDE Commands

Clipboard Commands

Send Keys Commands


ONLINE COMMANDS
On-Line Commands

An On-Line command is any file with the extension of: *.EXE, *.COM, *.BAT or *.PIF.

You can enter more than one command.  However, multiple commands must be separeated by a Shift-Enter.

When requesting to run an On-Line command, MARJESRV.EXE in the Server PC will start the
command and continue to the next command.

Examples of On-Line Commands:
CALC.EXE, NOTEPAD.EXE

You might want to select the Wait For Execution to Finish check box before executing the command(s).

Make sure that you select the correct Drive before executing the commands.

YOU CANNOT MIX MATCH COMMAND TYPE.

See Also:

Batch Commands

DDE Commands

Clipboard Commands

Send Keys Commands


DDE Commands

DDE Supports two (2) command.  LinkTopic & LinkExecute.

You can enter more than one command.  However, multiple commands must be separeated by a Shift-Enter.

Examples of LinkTopic would be: ProgMan|ProgMan or Excel|Sheet1

Examples of LinkExecute would be: [AddItem(c:\temp\temp.exe,Temp Application,,,)] or [ACTIVATE("SHEET1")].

You might want to select the Wait For Execution to Finish check box before executing the command(s).

Make sure that you select the correct Drive before executing the commands.

YOU CANNOT MIX MATCH COMMAND TYPE.

See Also:

On-Line Commands

Batch Commands

Clipboard Commands

Send Keys Commands


Clipboard Commands

Clipboard commands allow you to manipulate TEXT on the Clipboard of the Server PC.
You can enter more than one command.  However, multiple commands must be separeated by a Shift-Enter.

There are three Clipboard Commands:

Add

The Add allows you to add text to the Server's Clipboard.
For example ADD Hi there Jim.
Every time you Add new text to the Clipboard the Clipboard get cleared first.

Append

The Append allows to append text to the Serve's Clipboard
For example after typing the above command you might type:
APPEND How are you?
The Append command will not erase the contents of the Clipboard, providing the Clipboard contained text data.

Get

The Get command allows you get text from the Server's PC.  The text is returned to you in the Log File.  Therefore it will be to your advantage to select the Wait For Execution to Finish check box before executing this command.

You might want to select the Wait For Execution to Finish check box before executing the command(s).

Make sure that you select the correct Drive before executing the commands.

YOU CANNOT MIX MATCH COMMAND TYPE.

See Also

On-Line Commands

Batch Commands

DDE Commands

Send Keys Commands


Send Keys Commands

The Send Keys commands allow you to send keystrokes to Windows\'AE applications in the Server's PC.

You can enter more than one command.  However, multiple commands must be separeated by a Shift-Enter.

There are two Send Keys commands.

Activate

The Activate command will allow you to give focus to the application for which you want to send keystrokes.
The argument is the name that appears in the title bar of the application window to activate.  If there is more than one instance of the application, the operating environment arbitrarily selects the one to activate.  The name that appears in the title bar and titletext must match haracter-for-character, but the comparison is not case sensitive:  "Calculator" and "calculator" appear identical.
For example ACTIVATE Calculator will activate the Calculator application in the Servers PC.
You might want to select an On-Line Command to the Server PC to start the application for which you want to send keystrokes.

Keys

Keys are the actual keystrokes you want to send to the Server's PC application.
For example KEYS {f4} will send the F4 key to the application.

Each key is represented by one or more characters.  To specify a single keyboard character, use the character itself.  For
example, to represent the letter A, use "A" for keytext.  If you want to represent more than one character, append each additional
character to the one preceding it.  To represent the letters A, B, and C, use "ABC" for keytext.

The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses ( ) have special meanings to SendKeys.  To specify one
of these characters, enclose it inside braces.  For example, to specify the plus sign, use {+}.  Brackets ([ ]) have no special
meaning to SendKeys, but you must enclose them in braces as well, because in other applications for Microsoft Windows,
brackets do have special meaning that may be significant when dynamic data exchange (DDE) occurs.  To send brace
characters, use {{} and {}}.
To specify characters that aren't displayed when you press a key (such as Enter or Tab) and keys that represent actions rather
than characters, use the codes shown below:

Key	Code

Backspace	{BACKSPACE} or {BS} or {BKSP}
Break	{BREAK}
Caps Lock	{CAPSLOCK}
Clear	{CLEAR}
Del	{DELETE} or {DEL}
Down Arrow	{DOWN}
End	{END}
Enter	{ENTER} or ~
Esc	{ESCAPE} or {ESC}
Help	{HELP}
Home	{HOME}
Ins	{INSERT}
Left Arrow	{LEFT}
Num Lock	{NUMLOCK}
Page Down	{PGDN}
Page Up	{PGUP}
Print Screen	{PRTSC}
Right Arrow	{RIGHT}
Scroll Lock	{SCROLLLOCK}
Tab	{TAB}
Up Arrow	{UP}
F1	{F1}
F2	{F2}
F3	{F3}
F4	{F4}
F5	{F5}
F6	{F6}
F7	{F7}
F8	{F8}
F9	{F9}
F10	{F10}
F11	{F11}
F12	{F12}
F13	{F13}
F14	{F14}
F15	{F15}
F16	{F16}

To specify keys combined with any combination of Shift, Ctrl, and Alt keys, precede the regular key code with one or more of the
following codes:

Key	Code

Shift	+
Control	^
Alt	%

To specify that Shift, Ctrl, and/or Alt should be held down while several other keys are pressed, enclose the keys' code in
parentheses.  For example, to have the Shift key held down while E and C are pressed, use "+(EC)".  To have Shift held down
while E is pressed, followed by C being pressed without Shift, use "+EC".
To specify repeating keys, use the form {key number};  you must put a space between key and number.  For example,
{LEFT 42} means press the Left Arrow key 42 times; {h 10} means press h 10 times.

You might want to select the Wait For Execution to Finish check box before executing the command(s).

Make sure that you select the correct Drive before executing the commands.

YOU CANNOT MIX MATCH COMMAND TYPE.

See Also

On-Line Commands

Batch Commands

DDE Commands

Clipboard Commands


FILE NEW
File New Ctrl-N

This option will clear the command box for you tostart a new set of commands.

This option can only be used with a register copy of the software.

See Also

Save Ctrl-S

Open Ctrl-O


FILE SAVE
File Save Ctrl-S

This option will allow you to save your commands for later use.

This option can only be used with a register copy of the software.

See Also

New Ctrl-N

Open Ctrl-O


FILE OPEN
File Open Ctrl-O

This option will load a saved command file into the command box.

This option can only be used with a register copy of the software.

See Also

New Ctrl-N

Save Ctrl-S


FILE VIEW LOG
File View Log Ctrl-V

This option allows you to review the log in the Serve PC.  Every time you send a command tothe Server,  the software identifies that command with a name that appears as "Your Log Ref:_____________".  When you review the log, look for this command and the time it was executed to find your entries.


Support

You can contact M&A Enterprises for support by Mail at:

M&A Enterprises
1229 Thomas Ct.
Suite 103
Glendale Hts, IL  60139

or by CompuServe ID: 70312,1447


DEMO
Demo Copy

A Demo copy of M&A RJE is a functional copy of the software.  A Demo copy means the sofware has not been register yet.

The limitaions of a demo copy are:
The File New, File Save and File Open menu options of MARJEREQ.EXE do not work.
Every two (2) hours the user of the Server PC will receive a reminded to ask the LAN administrator to register the software.


Drive

This is the drive letter for the machine on which you want to execute the command(s) entered.


Registration

If you have a demo copy of M&A RJE you can register it by selecting the Register Menu Option under the Help Menu.

When using a Demo copy of the software you'll see the label "Unregistered Copy" in the Requestor program and every two (2) hours the Server PC will receive a notofication to please register the software.

IF YOU USE THIS PROGRAM FOR MORE THAN 30 DAYS, PLEASE REGISTER IT.


Wait For Execution to Finish

Choosing the Wait check box will make the program wait for command(s) to finish.
The program will check for completion every 10 seconds.
When excution completes, the Log will be displayed.


Drive

This is the drive letter for the machine on which you want to execute the command(s) entered.


Wait For Execution to Finish

Choosing the Wait check box will make the program wait for command(s) to finish.The program will check for completion every 10 seconds.When excution completes, the Log will be displayed.